NMGR\Lib\AddToWishlist D

Total Complexity 185
Dependencies 7
Dependents 1
Total lines 1,215
Lines of code 983
Logical lines of code 411
Comment lines 89
Methods 45
Properties 0

Methods 45

Method Rating Maintainability Complexity Lines of code
get_button_attributes()
A
47 13 30
column_value()
A
41 10 59
get_button_content()
A
45 10 43
template_select_wishlist()
A
41 8 65
get_product_in_wishlist_title_attribute()
A
44 7 58
template_shipping()
A
45 7 50
add()
A
48 8 33
get_dialog_args()
A
46 7 42
get_styles()
A
45 1 126
start()
A
48 7 31
get_button_permalink()
S
52 7 24
maybe_terminate_process()
S
54 7 19
create()
S
48 6 32
dialog_submitted()
S
51 6 27
added_to_wishlist_notice()
S
50 6 27
get_button_template()
S
60 6 12
template_profile()
S
48 4 36
add_button_clicked()
S
54 5 20
get_button()
S
60 5 12
user_has_product()
S
54 4 20
ajax_post_actions()
S
62 4 13
create_wishlist()
S
51 3 26
maybe_show_add_to_existing_wishlist_link()
S
57 3 19
get_mode()
S
65 4 8
get_wishlists()
S
64 4 9
get_template_part()
S
58 3 14
get_require_shipping_address_notice()
S
68 3 7
get_posted_formdata()
S
65 3 8
remove_from_data()
S
68 3 7
get_table()
S
61 2 12
columns_data()
S
60 1 16
get_create_wishlist_mode()
S
78 2 3
get_add_to_new_wishlist_text()
S
65 2 9
get_dialog_submit_button()
S
74 2 4
get_products_data_from_product_ids()
S
69 2 7
get_fields()
S
63 1 11
get_input_name_for_product()
S
79 1 3
run()
S
79 1 3
get_template()
S
70 1 6
get_button_type()
S
79 1 3
get_button_text()
S
69 1 7
get_section()
S
71 1 5
show_dialog_section()
S
69 1 7
show_dialog()
S
68 1 7
get_button_with_wrapper()
S
78 1 3